home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 110 < prev    next >
Internet Message Format  |  1996-08-06  |  1KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.std.c
  4. Subject: Re: Help, best way to compare doubles
  5. Date: 15 Jan 1996 16:13:22 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Jan15091322@qcd.lanl.gov>
  8. References: <4d1k09$aqq@mercury.IntNet.net> <4dbos6$o7q@umbc9.umbc.edu>
  9.     <4ddev4$1vg@stingray.mcnc.org>
  10. NNTP-Posting-Host: qcd.lanl.gov
  11. Mime-Version: 1.0
  12. Content-Type: text
  13. In-reply-to: coats@mcnc.org's message of 15 Jan 1996 11:48:52 GMT
  14.  
  15. --text follows this line--
  16. In article <4ddev4$1vg@stingray.mcnc.org> coats@mcnc.org (Carlie
  17. Coats) writes: 
  18. <snip>
  19.    or (equvalently, but in decently-efficient C):
  20.  
  21. ...though undefined according to the ANSI C standard...
  22.  
  23.        ( t = a - b )*t < esquared * ( a*a + b*b  + delta )
  24.  
  25. Cheers
  26. Tanmmoy
  27. --
  28. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  29. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  30. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  31. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  32. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  33. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  34.